Skip to content

Commit

Permalink
[LUCENENET-474] - Added patch to add license headers from files where…
Browse files Browse the repository at this point in the history
… it was missing

[LUCENENET-467] - Fixed solutions in Contrib with recent changes to core assembly (Properties)

git-svn-id: https://svn.apache.org/repos/asf/incubator/lucene.net/trunk@1300340 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
ccurrens committed Mar 13, 2012
1 parent a5da5c0 commit 19e86e2
Show file tree
Hide file tree
Showing 220 changed files with 3,927 additions and 1,729 deletions.
21 changes: 21 additions & 0 deletions branding/logo/lucene-net-L.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions branding/logo/lucene-net-color.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions branding/logo/lucene-net-grayscale.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions branding/logo/lucene-net-reverse-color.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions branding/logo/lucene-net-reverse-grayscale.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions branding/logo/lucene-net-words.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 21 additions & 1 deletion build/vs2010/test/Contrib.All.Test.sln
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@


Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
#
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
#
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lucene.Net", "..\..\..\src\core\Lucene.Net.csproj", "{5D4AD9BE-1FFB-41AB-9943-25737971BF57}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Contrib.Core", "..\..\..\src\contrib\Core\Contrib.Core.csproj", "{FEF899EB-610C-4D3C-A556-A01F56F4AFE0}"
Expand Down
22 changes: 21 additions & 1 deletion build/vs2010/test/Contrib.Snowball.Test.sln
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@


Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
#
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
#
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lucene.Net", "..\..\..\src\core\Lucene.Net.csproj", "{5D4AD9BE-1FFB-41AB-9943-25737971BF57}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Contrib.Snowball", "..\..\..\src\contrib\Snowball\Contrib.Snowball.csproj", "{8F9D7A92-F122-413E-9D8D-027E4ECD327C}"
Expand Down
14 changes: 7 additions & 7 deletions src/contrib/Analyzers/Compound/CompoundWordTokenFilterBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ private void setToken(Token token)
{
ClearAttributes();
termAtt.SetTermBuffer(token.TermBuffer(), 0, token.TermLength());
flagsAtt.SetFlags(token.GetFlags());
flagsAtt.Flags = token.Flags;
typeAtt.SetType(token.Type());
offsetAtt.SetOffset(token.StartOffset(), token.EndOffset());
posIncAtt.SetPositionIncrement(token.GetPositionIncrement());
payloadAtt.SetPayload(token.GetPayload());
posIncAtt.PositionIncrement = token.PositionIncrement;
payloadAtt.Payload = token.Payload;
}

public sealed override bool IncrementToken()
Expand All @@ -157,10 +157,10 @@ public sealed override bool IncrementToken()
wrapper.SetTermBuffer(termAtt.TermBuffer(), 0, termAtt.TermLength());
wrapper.SetStartOffset(offsetAtt.StartOffset());
wrapper.SetEndOffset(offsetAtt.EndOffset());
wrapper.SetFlags(flagsAtt.GetFlags());
wrapper.Flags = flagsAtt.Flags;
wrapper.SetType(typeAtt.Type());
wrapper.SetPositionIncrement(posIncAtt.GetPositionIncrement());
wrapper.SetPayload(payloadAtt.GetPayload());
wrapper.PositionIncrement = posIncAtt.PositionIncrement;
wrapper.Payload = payloadAtt.Payload;

Decompose(wrapper);

Expand Down Expand Up @@ -202,7 +202,7 @@ protected Token CreateToken(int offset, int length,
{
int newStart = prototype.StartOffset() + offset;
Token t = prototype.Clone(prototype.TermBuffer(), offset, length, newStart, newStart + length);
t.SetPositionIncrement(0);
t.PositionIncrement = 0;
return t;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
using System;
/*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*/

using System;
using System.Collections.Generic;

namespace Lucene.Net.Analysis.Compound
Expand Down Expand Up @@ -117,4 +138,4 @@ protected override void DecomposeInternal(Token token)
}
}
}
}
}
1 change: 1 addition & 0 deletions src/contrib/Analyzers/Contrib.Analyzers.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
<WarningLevel>4</WarningLevel>
<DocumentationFile>..\..\..\build\bin\contrib\Analyzers\Release\Lucene.Net.Contrib.Analyzers.XML</DocumentationFile>
<NoWarn>618</NoWarn>
<DebugSymbols>false</DebugSymbols>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
Expand Down
23 changes: 22 additions & 1 deletion src/contrib/Analyzers/El/GreekAnalyzer.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
using System;
/*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*/

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
Expand Down
23 changes: 22 additions & 1 deletion src/contrib/Analyzers/El/GreekLowerCaseFilter.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
using System;
/*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
Expand Down
25 changes: 23 additions & 2 deletions src/contrib/Analyzers/Fa/PersianAnalyzer.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
using System;
/*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*/

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
Expand Down Expand Up @@ -212,4 +233,4 @@ public override TokenStream ReusableTokenStream(String fieldName, TextReader rea
return streams.result;
}
}
}
}
Loading

0 comments on commit 19e86e2

Please sign in to comment.